package com.link.base.base.wechat.controller;

import com.link.base.base.wechat.model.MpnewsTimer;
import com.link.base.base.wechat.service.SendToAllFollowersService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 消息规则
 *
 * @author 路江
 * @date 2018-05
 */
@Controller
@RequestMapping("/link/sendToAllFollowers")
public class SendToAllFollowersController extends BasicController<MpnewsTimer> {

    @Resource
    private SendToAllFollowersService sendToAllFollowersService;

    @Override
    public BasicService<MpnewsTimer> getBasicService() throws Exception {
        return sendToAllFollowersService;
    }
}
